export interface Auth {
  id: string;
  identifier: string;
  identityType: string;
  createTime: string;
  platformIdentifierName: string;
  verified: boolean;
}

export interface ModifyExpiredPwd extends ModifyPwd {
  loginName: string; //用户登录账号
}

export interface ModifyPwd {
  newPasswd: string;
  oldPasswd: string;
}


export interface UserRegister{
  emailOrMobile: string; //email
  passwd: string; //密码
  verificationCode: string; //验证码
}

export interface ForgetResetPasswd{
  emailOrMobile: string; //手机或者邮箱
  verificationCode: string; //验证码
  passwd: string; //新密码
  tenantId: string; //租户id
}

export interface SendVerificationCode{
  captcha?: StatelessCaptchaReq; //图形验证码
  emailOrMobile: string; //手机号码或邮箱地址
  verificationCodeType: string; //验证码类型  VerificationCodeType: FORGET|LOGIN|THIRD_PLATFORM_BIND
  tenantId?: string; //租户id
}


export interface StatelessCaptchaReq{
  token: string; //验证码token
  input: string; //图片验证码的验证码值
  trackInfo: any; //行为验证码的行为数据
}

export interface UserEmailOrMobileChange{
  emailOrMobile: string; //email
  oldVerificationCode: string; //旧设备验证码
  newVerificationCode: string; //新绑定设备验证码
}



